<?php
/**
 *
 * 重建帖子搜索
 *
 * buildTopicSearch.php
 * Created by IntelliJ IDEA.
 *
 * @author: hjh <hjh@jf.com>
 *
 * Date: 2017/10/28
 * Time: 11:46
 */

require_once __DIR__ . "/buildBaseSearch.php";

use Circle\Topic;
use Search\SearchTopic;

class buildTopicSearch extends buildBaseSearch
{
    public static $DB_TABLE = 'Topic';
    public static $PRIMARY_KEY = Topic::FIELD_TOPIC_ID;
    public static $SCRIPT_NAME = __FILE__;
    public static $SEARCH_CLASS = SearchTopic::class;
}

$app->run();